package top.fengyulou.xiaofeng.enums;

/**
 * @author guochao
 * @version 1.0
 * @date 2021/12/29 10:47
 */
public enum ErrorCodeEnum {
    NOT_LOGIN(-2, "未登录");

    private Integer code;

    private String desc;

    ErrorCodeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
